package pers.dawnyang.modular.system.domain.request.menu;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

import lombok.Data;

@Data
public class MenuReqC {

    @NotBlank(message = "菜单名不能为空")
    private String menuName;

    @NotNull(message = "父级ID不能为空")
    private Long parentId;

    private Integer sort;

    private String url;

    @NotNull(message = "菜单类型不能为空")
    private Integer menuType;

    @NotBlank(message = "权限编码不能为空")
    private String perms;

    private String icon;

    private String remark;

}
